#!/usr/bin/python
import template

def generate_html(html, title):
    code = []
    code.append(template.generate_header(header))
    code.append(template.generate_container_with_tasks(html)) #_cwt - |c|ontainer |w|ith |tasks|
    code.append(template.generate_body())
    code.append(template.generate_bottom())
    html_string = "".join(code)
    return html_string